<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Document</title>
  <script src="./lib/jquery.js"></script>
</head>

<body>
  <script>
    // 接口地址： http://www.liulongbin.top:3006/api/jsonp

    // $.ajax({
    //   method: 'GET',
    //   url:'http://www.liulongbin.top:3006/api/jsonp',
    //   success(res){
    //     console.log(res)
    //   }
    // })
    $.ajax({
      method: 'GET',
      url:'http://www.liulongbin.top:3006/api/getbooks',
      success(res){
        console.log(res)
      }
    })
  </script>
</body>

</html>